// store.js
//路由数据
let menuIndex = {
  menuIndex: '平台',
  menuWebList: [],
  menuList: [],
  menuMap: new Map(),
  setMenuIndex(value) {
    this.menuIndex = value;
  },
  setmenuWebList(value) {
    this.menuWebList = value;
  },
  open: false,
};
let userInfo = {
  userInfo: {},
  token: "",
  setToken(value) {
    this.userInfo = value;
  },
  setUserInfo(value) {
    this.userInfo = value;
  },
};
export const store = reactive({
  ...menuIndex,
  ...userInfo,
});
